package com.example.mallorder.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author guanglin.ma
 * @date 2024-01-04 16:31
 */
@Configuration
public class OrderWebViewConfig implements WebMvcConfigurer {

    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
//        registry.addViewController("/confirm11.html").setViewName("/confirm");
//        registry.addViewController("/detail.html").setViewName("/detail");
//        registry.addViewController("/order.html").setViewName("/order");
//        registry.addViewController("/pay.html").setViewName("/pay");
    }
}
